﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShevaEngine.Core.Attributes
{
    /// <summary>
    /// Editable attribute.
    /// </summary>
    [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
    public sealed class EditableAttribute : Attribute
    {
        /// <summary>Hodnota.</summary>
        public Boolean Value { get; set; }

        // This is a positional argument
        public EditableAttribute(Boolean value)
        {
            this.Value = value;
        }
    }
}
